<template>
  <div id="app">
    <el-container>
      <el-header>
        <el-menu :default-active="1" class="el-menu-demo" mode="horizontal" @select="handleSelect">
          <!-- <el-menu-item class="meizu-Home" index="1">MEIZU</el-menu-item> -->
          <el-menu-item index="1">
            <router-link to="/Home">
              <img :src="'../static/images/icon-home.png'" alt="MEIZU"/>
            </router-link>
          </el-menu-item>
          <el-menu-item index="2">
            <router-link to="/Phone">
              手机
            </router-link>
          </el-menu-item>
          <el-menu-item index="3">
            <router-link to="/Headset">
              声学
            </router-link>
          </el-menu-item>
          <el-menu-item index="4" disabled>配件</el-menu-item>
          <el-menu-item index="5" disabled>生活</el-menu-item>
          <el-menu-item index="6" disabled>Flyme</el-menu-item>
          <el-menu-item index="7" disabled>服务</el-menu-item>
          <el-menu-item index="8" disabled>专卖店</el-menu-item>
          <el-menu-item index="9" disabled>社区</el-menu-item>
        </el-menu>
        <div class="line"></div>
      </el-header>
      <el-main>
        <router-view/>
      </el-main>
      <el-footer>
        <div class="line"></div>
        <p>CSDN学院Python课程——徐竹</p>
      </el-footer>
    </el-container>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style scoped>
.el-footer {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 60px;
}
.el-main {
  /*background-color: #E9EEF3;*/
  background-color: #FFFFFF;
  color: #333;
  text-align: center;
  line-height: 160px;
}
/*.meizu-Home {

}
*/
</style>
